A Matlab Implementation of a Flat Norm Motivated Polygonal Edge Matching Method using a Decomposition of Boundary into Four 1-Dimensional Currents
نویسندگان
چکیده
We describe and provide code and examples for a polygonal edge matching method. Our goal is to find a score to match two polygons P1 and P2 embedded in a rectangle R of the plane, of height I and width J. Using a pixel based representation of the polygon we find pixel based representations of the boundary of each polygon, with four matrices representing top, bottom left and right edges separately. We smooth with a Gaussian kernel, enabling matching of coincident edges and nearby edges. We match top edges to top edges, left edges to left edges and so on. Not allowing cancellation between left and right edges, or between top and bottom edges, gives more sensitivity. Polygons which represent templates and images or occluded images where only part of the original boundary is present can be matched. Polygons which differ by small deformations can be matched. The code here can be combined with registration techniques if required. Following [2], a distance function can be defined using an edge matching score. E(P1,P2) for the two polygons. We can define it as d(P1,P2)=E(P1,P1)+E(P2,P2)-2E(P1,P2). The capability of partial matching of nearby boundary or curves is analogous to properties the flat norm on currents. See [3] for an introduction to currents and the flat norm. Existing implementations of the flat norm [1],[2] however allow for cancellation between top and bottom edges and cancellation between left and right edges within the same polygon. This would prevent the match shown in figure 4 of the slender regions protruding to the right of the two polygons that do not intersect. The four types of edges can also be used to represent unions of oriented curves in the plane. This can include graphs and trees. In this general setting we can consider the four matrices as a decomposition of the curves into four currents. Figure 1: Correspondences between top, bottom, left and right boundary edges and oriented curves With an appropriate sign convention as used in oriented boundary integrals with Stokes theorem, the top edges can be interpreted as horizontal components of oriented curves going to the left, bottom edges as horizontal components of oriented curve going to the right, left edges as vertical components of oriented curves pointing down, and right edges as vertical components of oriented curves pointing up. For unoriented curve matching we only make a distinction between vertical and horizontal components, requiring only two matrices; all vertical components of a curve are represented with a positive number in the vertical component matrix. This unoriented case corresponds to a decomposition into two varifolds[3], one for vertical and one for horizontal. Top
منابع مشابه
Flat Norm Decomposition of Integral Currents
Currents represent generalized surfaces studied in geometric measure theory. They range from relatively tame integral currents representing oriented compact manifolds with boundary and integer multiplicities, to arbitrary elements of the dual space of differential forms. The flat norm provides a natural distance in the space of currents, and works by decomposing a d-dimensional current into dan...
متن کاملClamped-Free Non Homogeneous Magneto Electro Elastic Plate of Polygonal Cross-Sections with Hydrostatic Stress and Gravity
In this article, the influence of hydrostatic stress and gravity on a clamped- free non homogeneous magneto electro elastic plate of polygonal cross sections is studied using linear theory of elasticity. The equations of motion based on two-dimensional theory of elasticity are applied under the plane strain assumption of prestressed and gravitated magneto electro elastic plate of polygonal cros...
متن کاملStress Waves in a Generalized Thermo Elastic Polygonal Plate of Inner and Outer Cross Sections
The stress wave propagation in a generalized thermoelastic polygonal plate of inner and outer cross sections is studied using the Fourier expansion collocation method. The wave equation of motion based on two-dimensional theory of elasticity is applied under the plane strain assumption of generalized thermoelastic plate of polygonal shape, composed of homogeneous isotropic material. The freque...
متن کاملA numerical study of droplet deformation in a flat funnelform microchannel
Motivated by recent reported experiments, droplet deformation in a flat funnelform diverging microfluidic channel has been numerically studied. The structure of our microchannel is composed of two consecutive elements including a straight channel and a diverging channel. In this work, instead of solving the 3D Stokes equation, we solve a depth-averaged problem which is labeled two-dimensional p...
متن کاملHeat Transfer Enhancement of a Flat Plate Boundary Layer Distributed by a Square Cylinder: Particle Image Velocimetry and Temperature-Sensitive Paint Measurements and Proper Orthogonal Decomposition Analysis
The current empirical study was conducted to investigate the wall neighborhood impact on the two-dimensional flow structure and heat transfer enhancement behind a square cylinder. The low- velocity open-circle wind tunnel was used to carry out the study tests considering the cylinder diameter (D)-based Reynolds number (ReD) of 5130. The selected items to compare were different gap he...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/0812.0340 شماره
صفحات -
تاریخ انتشار 2008